package com.yuyou.fn.settlement.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 支付记录
 *
 */
@TableName(value = "new_pay_record")
public class NewPayRecord implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<NewPayRecord> createExample(){
		return new Example<NewPayRecord>(NewPayRecord.class);
	}

	/**  */
	@TableId(value = "pay_record_id")
	private Long payRecordId;

	/**  */
	@TableField(value = "bus_order_id")
	private Long busOrderId;

	/** 金额 */
	private BigDecimal amount;

	/** 操作人 */
	private String operator;

	/** 是否第一次支付 0-否 1:是 */
	@TableField(value = "first_pay")
	private Integer firstPay;

	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	/** 业务类型：0-课程收费；1-充值； */
	@TableField(value = "bus_type")
	private Integer busType;

	/** 支付方式或是支付渠道 支付方式：0-现金；1-刷卡；2-转账；3-账户 4-在线支付 */
	@TableField(value = "pay_ways")
	private String payWays;

	/** 存储附加信息，比如课程收费讲次信息 */
	private String extra;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getPayRecordId() {
		return this.payRecordId;
	}

	public void setPayRecordId(Long payRecordId) {
		this.payRecordId = payRecordId;
	}

	public Long getBusOrderId() {
		return this.busOrderId;
	}

	public void setBusOrderId(Long busOrderId) {
		this.busOrderId = busOrderId;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Integer getFirstPay() {
		return this.firstPay;
	}

	public void setFirstPay(Integer firstPay) {
		this.firstPay = firstPay;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public Integer getBusType() {
		return this.busType;
	}

	public void setBusType(Integer busType) {
		this.busType = busType;
	}

	public String getPayWays() {
		return this.payWays;
	}

	public void setPayWays(String payWays) {
		this.payWays = payWays;
	}

	public String getExtra() {
		return this.extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
